<?php
/**
 * Created by PhpStorm.
 * User: Bruce
 * Date: 2020/5/22
 * Time: 9:59
 */
//var_dump(array_key_exists('a',['a'=>1,'b'=>2]));
//var_dump(in_array('a',array_keys(['a'=>1,'b'=>2]),true));
$count =5;
function get_count(){
    static $count = 0;
    return $count++;
}
echo get_count();

echo $count;
++$count;
echo get_count();echo $count;

